<{if isset($debug_str)}>
	<code><{$debug_str}></code>
<{/if}>

<h3>Edit Attendee <{$thisUser.first_name}> <{$thisUser.last_name}> from <{$group.company}></h3>
<ul>
<li>The TMC Membership number is not required. Leave blank for missing/forgotten numbers.</li>
<li>Although not required, entering an e-mail address for each attendee will help us notify users of any conference changes.</li>
</ul>
<p>
<form action="register.php" method="post" class="f-wrap-1">
<input type="hidden" name="conf_id" value="<{$confData.conf_id}>" />
<input type="hidden" name="user_id" value="<{$u_id}>" />
<div class="req"><b>*</b> Indicates required field</div>
<fieldset>
	<label for="fname">
		<b><span class="req">*</span>First Name:</b>
	</label>
	<input id="fname" name="fname" value="<{$thisUser.first_name}>" type="text" class="f-name" tabindex="1" /><br />

	<label for="lname">
		<b><span class="req">*</span>Last Name:</b>
	</label>
	<input id="lname" name="lname" value="<{$thisUser.last_name}>" type="text" class="f-name" tabindex="2" /><br />

	<label for="email">
		<b>E-mail:</b>
	</label>
	<input id="email" name="email" value="<{$thisUser.email}>" type="text" class="f-name" tabindex="3" /><br />

	<label for="member">
		<b>TMC #:</b>
	</label>
	<input id="member" name="member" value="<{$thisUser.member_num}>" type="text" class="f-name" tabindex="4" /><br />

	<h4>Select Days Attending</h4>
	<{foreach from=$dates key=dcount item=thisDate}>
		<{assign var="dateVar" value='date'|cat:$dcount}>
		<input type=checkbox name="<{$dateVar}>" value="Yes"
		<{if $thisUser.day.$dcount == 1}> checked <{/if}>
		><{$thisDate}> &nbsp;&nbsp;&nbsp;&nbsp;
	<{/foreach}>

	<{* Workshops *}>
	<h4>Select Workshops</h4>
	<table width=100%>
	<{foreach from=$days key=dcount item=thisDay}>
		<{assign var="wVar" value="workshop"|cat:$dcount}>
		<tr><td colspan=2><b><{$thisDay}></b></td></tr>
		<tr><td><input type=radio name="<{$wVar}>" value="0"
		<{if $work_sel.$dcount == 1}> checked<{/if}> ></td>
			<td width=96%>None<p></td></tr>
		<{foreach from=$workshops[$dcount] item=wData}>
			<{assign var="eid" value=$wData.extra_id}>
			<tr><td><input type=radio name="<{$wVar}>" value="<{$wData.extra_id}>"
			<{if isset($sel_extra.$eid)}> checked<{/if}> ></td>
				<td><{$wData.name}><br />
					Description: <{$wData.description}><br />
					Cost: $<{$wData.cost}><br />
					Current Attendence: <{$wData.cur_res}>/<{$wData.max_attend}>
					<p></td></tr>
		<{/foreach}>
	<{/foreach}>
	</table>

	<{* Extras *}>
	<h4>Select Additional Options</h4>
	<table width=100%>
	<{foreach from=$extras key=dcount item=eData}>
		<{assign var="eid" value=$eData.extra_id}>
		<tr><td><input type=checkbox name="extra<{$dcount}>" value="<{$eData.extra_id}>"
		<{if isset($sel_extra.$eid)}> checked<{/if}> ></td>
			<td><{$eData.name}><br />
				Description: <{$eData.description}><br />
				Cost: <{if $eData.cost > 0}>$<{$eData.cost}><{else}>Free<{/if}><br />
				<{if $eData.max_attend > 0}>
				Current Attendence: <{$eData.cur_res}>/<{$eData.max_attend}>
				<{/if}>
				<p></td></tr>
	<{/foreach}>
	</table>
</fieldset>
<fieldset>
	<div class="f-submit-wrap-right">
		<input type="submit" name="submit" value="Save and Return to Checkout" class="f-submit" tabindex="31" />
	</div>
</fieldset>
</form>

<{if isset($users[0].last_name)}>
<table class="table2" id="existingusers">
<thead><tr><th colspan="5">Current Attendee</th></tr></thead>
<tbody>
<tr>
	<th>Name</th>
	<th>TMC #</th>
	<th>Days Attending</th>
	<th>Additonal Options</th>
	<th>Cost</th>
</tr>

<{foreach from=$users item=thisUser}>
	<tr><td><{$thisUser.first_name}> <{$thisUser.last_name}></td>
		<td><{$thisUser.member_num}></td>
		<td><{$thisUser.attend_desc}></td>
		<td><{$thisUser.extras_desc}></td>
		<td><{$thisUser.cost_disp}></td>
	</tr>
<{/foreach}>
</table>
<{/if}>

<!-- do not remove the following copyright section -->
<div align="right">
<br><{$smarty.const._MD_CONFREG_COPYRIGHT}>
</div>
<!-- end of copyright section -->
